package com.chaochis.wind.config.secutiry_config.interceptor_impl.web_admin_interceptor;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "wind.web-admin-filter")
public class WebAdminConfig {
    private String loginUrl = "/admin/account/login"; // 登录地址
    private List<String> urlPatterns = new ArrayList<>();//允许访问的源
    private List<String> ignoredUrl = new ArrayList<>();//允许访问的源
}
